package com.jk.rabbitmqsend.rabbitmq;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



@Configuration  //标识为RabbitMQ配置文件类
public class RabbitMQConfig {

      @Bean
     public Queue queryOrderForm(){

          return  new Queue("1807B-hly");
      }

}
